package httpapi

import (
	"away.wei/minidevpos/repository"
)

type HttpApiGroup struct {
	// web api
	DemoApi
	ServerApi
	ConfigrationApi
	ProjectApi
	ProjectBuildApi
	ProjectDeployApi
	ProjectTaskApi

	// websocket api
	DevopsWS
}

var (
	HttpApiGroupApp = new(HttpApiGroup)
	// db repository
	serverRep        = repository.RepositoryGroupApp.ServerRep
	configrationRep  = repository.RepositoryGroupApp.ConfigrationRep
	projectRep       = repository.RepositoryGroupApp.ProjectRep
	projectBuildRep  = repository.RepositoryGroupApp.ProjectBuildRep
	projectDeployRep = repository.RepositoryGroupApp.ProjectDeployRep
	projectTaskRep   = repository.RepositoryGroupApp.ProjectTaskRep

	// devops
	// devopsApp = devops.DevOpsApp
)
